package edu.example.order.service;

import edu.example.order.Dao.userDao;
import edu.example.order.Dao.userDaoImpl;
import edu.example.order.bean.User;

public class userServiceImpl implements userService{
    private userDao userDao=new userDaoImpl();
    @Override
    public User findByNameAndPwd(String name, String password) {
        return userDao.findByNameAndPwd(name,password);
    }
}
